package com.quanyan.club.service;

import com.quanyan.club.entity.vo.req.ReqClubMultimediaAddObj;
import com.quanyan.club.entity.vo.req.ReqClubMultimediaPage;
import com.quanyan.club.entity.vo.req.ReqClubMultimediaUpdate;
import com.quanyan.club.entity.vo.resp.RespClubMultimedia;
import com.quanyan.common.Plugin.PageObj;

import java.util.List;

/**
 * Created by zhang on 16/6/28.
 */
public interface ClubMultimediaService {
    /**
     * 获取俱乐部相册列表
     * @param reqClubMultimediaPage
     * @return
     */
    PageObj<List<RespClubMultimedia>> list(ReqClubMultimediaPage reqClubMultimediaPage);

    /**
     * 更新俱乐部相册
     * @param reqClubMultimediaUpdate
     * @param uid
     * @return
     */
    boolean update(ReqClubMultimediaUpdate reqClubMultimediaUpdate,int uid);

    /**
     * 添加俱乐部相册
     * @param reqClubMultimediaAddObj
     * @param uid
     * @return
     */
    boolean add(ReqClubMultimediaAddObj reqClubMultimediaAddObj, int uid);

    /**
     * 删除俱乐部相册
     * @param multimediaUrlId
     * @return
     */
    int delete(int multimediaUrlId);
}
